<template>
  <div>
    <aside-bar
      :isCollapse="isCollapse"
      :func-list="funcList"
      :title="title"
    ></aside-bar>
  </div>
</template>

<script>
import AsideBar from "@/components/aside-bar";

export default {
  name: "adminAside",
  components: { AsideBar },
  props: {
    isCollapse: {
      type: Boolean,
      default: false,
    },
  },
  data() {
    return {
      funcList: [
        {
          path: "/admin",
          title: "住户信息",
        },
        {
          path: "/admin/temporary",
          title: "临时访问",
        },
        {
          path: "/admin/manage/host",
          title: "住户审批",
          // children: [
          //   { path: "/admin/manage/host", title: "住户申请" },
          //   { path: "/admin/manage/temporary", title: "临时申请" },
          //   { path: "/admin/manage/visitor", title: "访客申请" },
          // ],
        },
        { path: "/admin/accord", title: "出入记录" },
      ],
      title: "管理端",
    };
  },
};
</script>

<style scoped>
</style>